package com.hengpeng.itfin.persist.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.hengpeng.common.persist.AbstractDao;
import com.hengpeng.itfin.persist.DrawFileDao;
import com.hengpeng.itfinbase.persist.DrawFile;
import com.hengpeng.itfinbase.persist.DrawFile.DealState;

@Repository
public class DrawFileDaoImpl extends AbstractDao<DrawFile> implements DrawFileDao
{

	@Override
	public List<DrawFile> listByState(DealState state)
	{
		return super.findAllByNamedQuery("drawFile.listByState", new Object[] { state });
	}

}
